package com.example.cloud.model.config;

import com.example.cloud.model.common.CommonModel;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;

/**
 * Created by wangtao on 2018/6/12.
 * 消息提醒人员列表
 */
@Entity(name = "config_remind_details")
@Data
@EqualsAndHashCode(callSuper = false)
public class RemindConfigDetails extends CommonModel {
    @Id
    @GeneratedValue(strategy = GenerationType.AUTO)
    private Long id;
    // 预警配置编号
    @Column(name = "remind_config_id")
    private Long remindConfigId;
    // 用户编号
    @Column(name = "user_id")
    private Long userId;
    // 用户名称
    @Column(name = "user_name")
    private String userName;
}
